#import "~/graphql_shared/fragments/page_info.fragment.graphql"

query projectIterationCadences(
  $fullPath: ID!
  $beforeCursor: String = ""
  $afterCursor: String = ""
  $firstPageSize: Int
  $lastPageSize: Int
) {
  workspace: project(fullPath: $fullPath) {
    id
    iterationCadences(
      includeAncestorGroups: true
      before: $beforeCursor
      after: $afterCursor
      first: $firstPageSize
      last: $lastPageSize
    ) {
      nodes {
        id
        title
        durationInWeeks
        automatic
      }
      pageInfo {
        ...PageInfo
      }
    }
  }
}
